Termination Proof Script

Consider the TRS R consisting of the rewrite rules
1:    sqr(0)  → 0
2:    sqr(s(x))  → sqr(x) + s(double(x))
3:    double(0)  → 0
4:    double(s(x))  → s(s(double(x)))
5:    x + 0  → x
6:    x + s(y)  → s(x + y)
7:    sqr(s(x))  → s(sqr(x) + double(x))
There are 6 dependency pairs:
8:    SQR(s(x))  → sqr(x) +# s(double(x))
9:    DOUBLE(s(x))  → DOUBLE(x)
10:    x +# s(y)  → x +# y
11:    SQR(s(x))  → sqr(x) +# double(x)
12:    SQR(s(x))  → SQR(x)
13:    SQR(s(x))  → DOUBLE(x)
The approximated dependency graph contains 3 SCCs: {10}, {9} and {12}. Hence the TRS is terminating.
Tyrolean Termination Tool  (0.01 seconds)   ---  May 3, 2006